from django.contrib import admin

# 用来将模型注册到后台的地方
from .models import Article


class ArticleAdmin(admin.ModelAdmin):
    list_display = ("title", "author", "description", "views", "publish_time")

admin.site.register(Article, ArticleAdmin)
